package com.dlg.user.rpc.api.vo.user;

import com.dlg.user.rpc.api.vo.basic.BaseRpcVo;

import java.math.BigInteger;

/**
 * 用户
 *
 * @author xpp
 * @date 2017年3月23日 下午4:12:54
 */
public class UserRpcVo extends BaseRpcVo {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 盐
	 */
	private String salt;

	/**
	 * 手机号
	 */
	private String phone;

	/**
	 * 手机设备识别码
	 */
	private String imei;

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * 微信号
	 */
	private String weChat;

	/**
	 * QQ号
	 */
	private String oicq;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 用户类型
	 */
	private com.dlg.commons.enums.UserType type;

	/**
	 * 用户状态(0.新建,1.正常,2.冻结)
	 */
	private Short status;

	/**
	 * 审核状态(0.未审核,1.审核中,2.审核通过,3.审核失败)
	 */
	private Short auditStatus;

	/**
	 * 注册来源
	 */
	private String origin;

	/**
	 * 消息推送标示
	 */
	private String messageSendIdentify;

	/**
	 * 父用户Id
	 */
	private BigInteger parentUserId;
	/**
	 * 是否存在支付密码
	 */
	private Boolean isExistPayPassword;

	/**
	 * 账户余额
	 */
	private Integer amount;

	/**
	 * 父用户关系id
	 */
	private BigInteger userRelationshipId;

	private String openId;

	/**
	 * 距离
	 */
	private String distance;

	/**
	 * 企业用户属性
	 */
	private EnterpriseUserAttributeRpcVo enterpriseUserRpcVo;

	/**
	 * 个人用户属性
	 */
	private PersonalUserAttributeRpcVo personalUserRpcVo;

	/**
	 * 发布的服务总数
	 */
	private Integer serviceCount;

	/**
	 * 是否显示诚信档案
	 */
	private String isShowCreditArchive;

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	private PersonalUserAttributeRpcVo personalUserAttributeRpcVo;

	private EnterpriseUserAttributeRpcVo enterpriseUserAttributeRpcVo;

	private EnterpriseAgentAttributeRpcVo enterpriseAgentAttributeRpcVo;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getWeChat() {
		return weChat;
	}

	public void setWeChat(String weChat) {
		this.weChat = weChat;
	}

	public String getOicq() {
		return oicq;
	}

	public void setOicq(String oicq) {
		this.oicq = oicq;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public com.dlg.commons.enums.UserType getType() {
		return type;
	}

	public void setType(com.dlg.commons.enums.UserType type) {
		this.type = type;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public Short getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Short auditStatus) {
		this.auditStatus = auditStatus;
	}

	public String getOrigin() {
		return origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getMessageSendIdentify() {
		return messageSendIdentify;
	}

	public void setMessageSendIdentify(String messageSendIdentify) {
		this.messageSendIdentify = messageSendIdentify;
	}

	public BigInteger getParentUserId() {
		return parentUserId;
	}

	public void setParentUserId(BigInteger parentUserId) {
		this.parentUserId = parentUserId;
	}

	public Boolean getIsExistPayPassword() {
		return isExistPayPassword;
	}

	public void setIsExistPayPassword(Boolean isExistPayPassword) {
		this.isExistPayPassword = isExistPayPassword;
	}

	public PersonalUserAttributeRpcVo getPersonalUserAttributeRpcVo() {
		return personalUserAttributeRpcVo;
	}

	public void setPersonalUserAttributeRpcVo(
			PersonalUserAttributeRpcVo personalUserAttributeRpcVo) {
		this.personalUserAttributeRpcVo = personalUserAttributeRpcVo;
	}

	public EnterpriseUserAttributeRpcVo getEnterpriseUserAttributeRpcVo() {
		return enterpriseUserAttributeRpcVo;
	}

	public void setEnterpriseUserAttributeRpcVo(
			EnterpriseUserAttributeRpcVo enterpriseUserAttributeRpcVo) {
		this.enterpriseUserAttributeRpcVo = enterpriseUserAttributeRpcVo;
	}

	public EnterpriseAgentAttributeRpcVo getEnterpriseAgentAttributeRpcVo() {
		return enterpriseAgentAttributeRpcVo;
	}

	public void setEnterpriseAgentAttributeRpcVo(
			EnterpriseAgentAttributeRpcVo enterpriseAgentAttributeRpcVo) {
		this.enterpriseAgentAttributeRpcVo = enterpriseAgentAttributeRpcVo;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public BigInteger getUserRelationshipId() {
		return userRelationshipId;
	}

	public void setUserRelationshipId(BigInteger userRelationshipId) {
		this.userRelationshipId = userRelationshipId;
	}


	public EnterpriseUserAttributeRpcVo getEnterpriseUserRpcVo() {
		return enterpriseUserRpcVo;
	}

	public void setEnterpriseUserRpcVo(EnterpriseUserAttributeRpcVo enterpriseUserRpcVo) {
		this.enterpriseUserRpcVo = enterpriseUserRpcVo;
	}

	public PersonalUserAttributeRpcVo getPersonalUserRpcVo() {
		return personalUserRpcVo;
	}

	public void setPersonalUserRpcVo(PersonalUserAttributeRpcVo personalUserRpcVo) {
		this.personalUserRpcVo = personalUserRpcVo;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public Integer getServiceCount() {
		return serviceCount;
	}

	public void setServiceCount(Integer serviceCount) {
		this.serviceCount = serviceCount;
	}

	public String getIsShowCreditArchive() {
		return isShowCreditArchive;
	}

	public void setIsShowCreditArchive(String isShowCreditArchive) {
		this.isShowCreditArchive = isShowCreditArchive;
	}
}
